package com.gd.service;

import com.gd.pojo.Paper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：狗蛋
 * @date ： 2019/10/13 23:45
 * @description：Service接口类
 * @modified By：
 * @version: $
 */
public interface PaperService {
    int addPaper(Paper paper);

    int deletePaperById(long id);

    int updatePaper(Paper paper);

    Paper queryById(long id);

    List<Paper> queryAllPaper();

}
